{% extends 'base_mobile.html' %}
{% block content %}
<div class="page-header">
<h1>我想加入CostaClub成为会员。<small>您只需年满18周岁并乘坐过一次歌诗达邮轮, 就可轻松、免费加入CostaClub。</small></h1>
</div>
<form class="form-horizontal" action="" method="post">
<fieldset>
    {{ form.hidden_tag() }}
    <div class="control-group {%if form.english_first_name.errors%}error{%endif%}">
        {{form.english_first_name.label(class="control-label")}}
        <div class="controls">
        {{form.english_first_name()}}
        </div>
    </div>
    <div class="control-group {%if form.english_last_name.errors%}error{%endif%}">
        {{form.english_last_name.label(class="control-label")}}
        <div class="controls">
        {{form.english_last_name()}}
        </div>
    </div>
    <div class="control-group {%if form.birthday_year.errors or form.birthday_month.errors or form.birthday_day.errors%}error{%endif%}">
        <label class="control-label">出生日期</label>
        <div class="controls">
        {{form.birthday_year(class="span1")}}
        年
        {{form.birthday_month(class="span1")}}
        月
        {{form.birthday_day(class="span1")}}
        日
        </div>
    </div>
    <div class="control-group {%if form.address.errors%}error{%endif%}">
        {{form.address.label(class="control-label")}}
        <div class="controls">
        {{form.address()}}
        </div>
    </div>
    <div class="control-group {%if form.phone.errors%}error{%endif%}">
        {{form.phone.label(class="control-label")}}
        <div class="controls">
        {{form.phone()}}
        </div>
    </div>
    <div class="control-group {%if form.email.errors%}error{%endif%}">
        {{form.email.label(class="control-label")}}
        <div class="controls">
        {{form.email()}}
        </div>
    </div>
    <div class="form-actions">
		{{ form.submit(class="btn btn-block") }}
    </div>
</fieldset>
</form>

{% endblock %}
